package com.tencent.smtt.sdk;

import com.tencent.smtt.export.external.jscore.interfaces.IX5JsValue;

/* loaded from: classes2.dex */
class c implements android.webkit.ValueCallback<IX5JsValue> {
    final /* synthetic */ android.webkit.ValueCallback a;
    final /* synthetic */ JsContext b;

    /* JADX INFO: Access modifiers changed from: package-private */
    public c(JsContext jsContext, android.webkit.ValueCallback valueCallback) {
        this.b = jsContext;
        this.a = valueCallback;
    }

    @Override // android.webkit.ValueCallback
    /* renamed from: a */
    public void onReceiveValue(IX5JsValue iX5JsValue) {
        this.a.onReceiveValue(iX5JsValue == null ? null : new JsValue(this.b, iX5JsValue));
    }
}
